COM AT^SHFR test - Set handsfree loudspeaker on / off
COM V1.0	27.01.2005	T. Kleinmann	started
COM V1.1	22.02.2005	T. Kleinmann	added comment about CASIRA
COM V1.2	24.02.2005	T. Kleinmann	added comment about responsibility

####################################################################################################
MESSAGE('These tests are considered to be the responsibility of accessory testers in ULM. \n\
The tests will be performed with real hardware.')
####################################################################################################



##########################################################################################
#ToDo: Implement and test URC's
#ToDo: Check all retruned parameters in detail
#ToDo: Try to automate MMI confirmation when enabling handsfree loudspeaker (mode=1,ind=1)
##########################################################################################

from attglobals import *

##########################################################################################

COM Test command
AT^SHFR=?
WAITFOR(1,'^SHFR')

##########################################################################################

COM Read command
AT^SHFR=?
WAITFOR(1,'^SHFR')

##########################################################################################

COM Write command
COM mode	: 1 - Enable handsfree loudspeaker
COM ind		: 1 - Enable handsfree loudspeaker events

AT^SHFR=1,1
WAITFOR(1,'OK')

##########################################################################################

COM Write command
COM mode	: 1 - Enable handsfree loudspeaker
COM ind		: 0 - Disable handsfree loudspeaker events

AT^SHFR=1,0
WAITFOR(1,'OK')

##########################################################################################

COM Write command
COM mode	: 0 - Disable handsfree loudspeaker
COM ind		: 0 - Disable handsfree loudspeaker events

AT^SHFR=0,0
WAITFOR(1,'OK')

##########################################################################################